DrawSHXTextBox
Unit: SHX.pas
Description
Returns the set of TsgSHXVertex basing on specified in the Text or WideText SHX Font text string with predefined by the ASHXStyles, Vertical, Backward properties.
| Parameters | Description |
|---|---|
ASHXStyles | The instance of the TsgSHXFontList object |
Font | The name of the SHX Font |
Text | The object of the sgRawByteString type |
WideText | The wide text string |
CodePage | The code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009. |
Vertical, Backward | The text font format properties: Vertical text has a vertical orientation; Backward text is rotated around X |
Poly | The list of the SHX Font text string |
Above | The above value of the SHX Font defined in Font |
Below | The below value of the SHX Font defined in Font |
Left, Bottom, Right, Top | The rectangle of the SHX Font text string |
Returns:
| Value | Description |
|---|---|
Above, Below | The above and below parameters of the SHX Font defined in Font |
Width, Height | The Width and Height parameters of the SHX Font defined in Font |
RealLeft, RealBottom, RealRight, RealTop | The real border rectangle of the SHX Font text string |
Syntax
procedure DrawSHXText(ASHXStyles: TsgSHXFontlist; const Font: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Vertical, Backward: Boolean; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);